package business;

import java.util.List;

import vo.Log;

public interface LogService {

	List<Log> getAllLogs();

	List<Log> getByUserIdMessage(long userId,String message);

	List<Log> getByUserIdType(long userId,String type);

	List<Log> getByUserId(long userId);

	List<Log> getAllLogs(int start, int pageSize);

	long getTotalCount();

	void addLog(String name);

	void addLog(Log log);

	Log getById(long id);

	void update(long id);

	void delete(long id);

}
